/*================================================================
*   Copyright (C) 2017 LiuYao. All rights reserved.
*   
*   Filename : placeholder.h
*   Author : LiuYao
*   Date : 2017-12-08
*   Description : 
*
================================================================*/
#ifndef _PLACEHOLDER_H
#define _PLACEHOLDER_H
#include <vector>
#include "node.h"
#include "../session/context.h"
#include "../matrix/matrix.h"

using std::vector;

class Placeholder : public Node{
    public:
        Placeholder(Shape& shape);
        void compute(Context* );
        bool isVariable() const{ return false; }
        bool isConstant() const{ return false; }
        bool isOp() const{ return false; }
        bool isPlaceholder() const { return true; }
        bool isOptimizer() const { return false; }
};
#endif
